package com.joplus.housekeeper.bean;

/**
 * Created by Administrator on 2016/9/6.
 */
public class GiftResult {


    /**
     * {
     * "code": "",
     * "message": "",
     * "memberId": "Id",
     * "result": {
     * "type": "union",
     * "logo": "http://xxxx.jpg",
     * "memberLevel": "平安联合会员"
     * }
     * }
     */


    public static final String STORE = "store";//储蓄卡支付
    public static final String UNION = "union";//联合会员
    public static final String TEMPORARY = "temporary";//体验会员
    public static final String WALLET_CODE = "40020";//钱包

    /**
     * type : store
     * couponMoney : 200
     * serName : 爱马仕包包
     */


    /**
     * result : {"type":"store","couponMoney":200,"serName":"爱马仕包包"}
     * code : 200
     * message : 兑换成功
     * memberId : id
     */

    private String code;
    private String message;
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String memberId;
        private String vipCode;

        private String exchangeMoney;
        private String walletCode;
        private ResultBean result;

        public String getExchangeMoney() {
            return exchangeMoney;
        }

        public void setExchangeMoney(String exchangeMoney) {
            this.exchangeMoney = exchangeMoney;
        }

        public String getWalletCode() {
            return walletCode;
        }

        public void setWalletCode(String walletCode) {
            this.walletCode = walletCode;
        }

        public String getVipCode() {
            return vipCode;
        }

        public void setVipCode(String vipCode) {
            this.vipCode = vipCode;
        }

        public ResultBean getResult() {
            return result;
        }

        public void setResult(ResultBean result) {
            this.result = result;
        }

        public String getMemberId() {
            return memberId;
        }

        public void setMemberId(String memberId) {
            this.memberId = memberId;
        }

        public static class ResultBean {
            private String type;
            private int couponMoney;
            private String serName;
            private String storedId;
            private String logo;
            private String memberLevel;
            private String expMemberDate;//体验会员体验时间

            public String getExpMemberDate() {
                return expMemberDate;
            }

            public void setExpMemberDate(String expMemberDate) {
                this.expMemberDate = expMemberDate;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getMemberLevel() {
                return memberLevel;
            }

            public void setMemberLevel(String memberLevel) {
                this.memberLevel = memberLevel;
            }

            public String getStoredId() {
                return storedId;
            }

            public void setStoredId(String storedId) {
                this.storedId = storedId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getCouponMoney() {
                return couponMoney;
            }

            public void setCouponMoney(int couponMoney) {
                this.couponMoney = couponMoney;
            }

            public String getSerName() {
                return serName;
            }

            public void setSerName(String serName) {
                this.serName = serName;
            }
        }
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
